package org.example.shoppingsystem.model;
import java.sql.Timestamp;
public class User {
    private Integer id;
    private String username;
    private String password;
    private String account;
    private Timestamp createTime;
    private Timestamp updateTime;
    private Integer isDeleted;

    // 无参构造函数
    public User() {
    }

    // 有参构造函数
    public User(Integer id, String username, String password, String account, Timestamp createTime, Timestamp updateTime, Integer isDeleted) {
        this.id = id;
        this.username = username;
        this.password = password;
        this.account = account;
        this.createTime = createTime;
        this.updateTime = updateTime;
        this.isDeleted = isDeleted;
    }

    // Getter 和 Setter 方法
    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getAccount() {
        return account;
    }

    public void setAccount(String account) {
        this.account = account;
    }

    public Timestamp getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Timestamp createTime) {
        this.createTime = createTime;
    }

    public Timestamp getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Timestamp updateTime) {
        this.updateTime = updateTime;
    }

    public Integer getIsDeleted() {
        return isDeleted;
    }

    public void setIsDeleted(Integer isDeleted) {
        this.isDeleted = isDeleted;
    }
}
